import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import DesktopMenu from '../../ch/sections/DesktopMenu.vue';

<Meta
  title="Sections/Header/DesktopMenu"
  component={DesktopMenu}
  argTypes={{
    isOpen: { name:'Is open', control: { type: 'boolean' } },
  }}
/>

export const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { DesktopMenu },
  template: '<DesktopMenu :isOpen="isOpen" :showActiveNavigation="true" />',
});

# Desktop Menu

<Canvas>
  <Story
    name="Example"
    args={{
      isOpen: false,
    }}
  >
    {Template.bind({})}
  </Story>
</Canvas>

<ArgsTable story="Example" />

<a href="?path=/story/sections-header-desktopmenu--example">Go to the Canvas Tab</a>

---

<a href="?id=sections-header-desktopmenu--example" target="_blank">Open page in full width in a new tab</a>



